home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIRadioButtonGroups.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
38KB
|
1,188 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIRadioButtonGroups.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
#ifndef SOM_HIRadioButtonGroup_xh
#define SOM_HIRadioButtonGroup_xh
class HIRadioButtonGroup;
#define HIRadioButtonGroup_MajorVersion 0
#define HIRadioButtonGroup_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <HIRadioButtonGroupTypes.h>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIPanel_xh
#include <HIPanels.xh>
#endif
#ifndef HIRadioButtonGroup_API
#define HIRadioButtonGroup_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
class HIRadioButton;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIRadioButtonGroupCClassData HIRadioButtonGroupClassData
#define HIRadioButtonGroupNewClass(major,minor) somNewVersionedClassReference(HIRadioButtonGroup,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIRadioButtonGroupMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIRadioButtonGroup class object, and the methods it introduces. */
SOMEXTERN struct HIRadioButtonGroupClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitRadioButtonGroup;
somMToken GetRadioButtonCount;
somMToken GetRadioButton;
somMToken AddRadioButton;
somMToken DeleteRadioButton;
somMToken SelectRadioButton;
somMToken GetSelectedRadioButton;
} SOMDLINK HIRadioButtonGroupClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIRadioButtonGroup_Class_Source) && !defined(SOM_Module_hiradiobuttongroups_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIRadioButtonGroupClassData
#endif
#endif
/*
* -- Typedefs for HIRadioButtonGroup Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_InitRadioButtonGroup)(HIRadioButtonGroup *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Point* anchor,
SInt16 width,
ItemCount numRadioButtons);
typedef ItemCount (* SOMLINK somTD_HIRadioButtonGroup_GetRadioButtonCount)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef HIRadioButton* (* SOMLINK somTD_HIRadioButtonGroup_GetRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
HIRadioButtonIndex radioButtonIndex);
typedef HIRadioButton* (* SOMLINK somTD_HIRadioButtonGroup_AddRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
HIRadioButtonIndex insertBeforeIndex);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_DeleteRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
HIRadioButtonIndex indexToDelete);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SelectRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev,
HIRadioButtonIndex radioButtonIndex);
typedef HIRadioButtonIndex (* SOMLINK somTD_HIRadioButtonGroup_GetSelectedRadioButton)(HIRadioButtonGroup *somSelf, Environment *ev);
/*
* -- Typedefs for Inherited Methods
*/
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIRadioButtonGroup_GetEmbeddingParent)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_InitPanel)(HIRadioButtonGroup *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_RegisterInterestInAppleEvent)(HIRadioButtonGroup *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_HasValidContent)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_GetDeepCollectionItemData)(HIRadioButtonGroup *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIRadioButtonGroup_GetWindow)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIRadioButtonGroup_GetPort)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_GetRefLabel)(HIRadioButtonGroup *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIRadioButtonGroup_GetCollection)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_Init)(HIRadioButtonGroup *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Terminate)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIRadioButtonGroup_Clone)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Release)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIRadioButtonGroup_GetOwnerCount)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_InitFromAERecord)(HIRadioButtonGroup *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_WriteToAERecord)(HIRadioButtonGroup *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_CalculateOptimalSize)(HIRadioButtonGroup *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_GetBoundingRect)(HIRadioButtonGroup *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetBoundingRect)(HIRadioButtonGroup *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetPosition)(HIRadioButtonGroup *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetSize)(HIRadioButtonGroup *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_GetUpdateRect)(HIRadioButtonGroup *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Enable)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Disable)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_IsEnabled)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Show)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Hide)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_IsVisible)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleAppleEvent)(HIRadioButtonGroup *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleActivate)(HIRadioButtonGroup *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleDeactivate)(HIRadioButtonGroup *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleNavigation)(HIRadioButtonGroup *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseDownInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseMovedInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseStoppedMovingInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_HandleMouseUpInContent)(HIRadioButtonGroup *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_TakeUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_ReleaseUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_HasUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_CanReleaseUserInputFocus)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetUserInputFocusFlags)(HIRadioButtonGroup *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIRadioButtonGroup_GetUserInputFocusFlags)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_SetTitle)(HIRadioButtonGroup *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_GetTitle)(HIRadioButtonGroup *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Draw)(HIRadioButtonGroup *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Erase)(HIRadioButtonGroup *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Invalidate)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIRadioButtonGroup_GetDrawingMode)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetDrawingMode)(HIRadioButtonGroup *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetBackgroundPattern)(HIRadioButtonGroup *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIRadioButtonGroup_GetBackgroundPattern)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Cut)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Copy)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Paste)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_Clear)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIRadioButtonGroup_GetClipboardSupportFlags)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_AddStateChangeCallback)(HIRadioButtonGroup *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_RemoveStateChangeCallback)(HIRadioButtonGroup *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_DrawContent)(HIRadioButtonGroup *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_EraseContent)(HIRadioButtonGroup *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_TranslatePoint)(HIRadioButtonGroup *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_TranslateRect)(HIRadioButtonGroup *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_StateChanged)(HIRadioButtonGroup *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_SetClipboardSupportFlags)(HIRadioButtonGroup *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIRadioButtonGroup_Verify)(HIRadioButtonGroup *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_somInit)(HIRadioButtonGroup *somSelf);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_somUninit)(HIRadioButtonGroup *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIRadioButtonGroup_somDuplicateReference)(HIRadioButtonGroup *somSelf);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somCompareReference)(HIRadioButtonGroup *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIRadioButtonGroup_somRelease)(HIRadioButtonGroup *somSelf);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_somFree)(HIRadioButtonGroup *somSelf);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somCanDelete)(HIRadioButtonGroup *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIRadioButtonGroup_somGetClass)(HIRadioButtonGroup *somSelf);
typedef corbastring (* SOMLINK somTD_HIRadioButtonGroup_somGetClassName)(HIRadioButtonGroup *somSelf);
typedef long (* SOMLINK somTD_HIRadioButtonGroup_somGetSize)(HIRadioButtonGroup *somSelf);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somIsA)(HIRadioButtonGroup *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somRespondsTo)(HIRadioButtonGroup *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somIsInstanceOf)(HIRadioButtonGroup *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somDispatch)(HIRadioButtonGroup *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somClassDispatch)(HIRadioButtonGroup *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somCastObj)(HIRadioButtonGroup *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIRadioButtonGroup_somResetObj)(HIRadioButtonGroup *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIRadioButtonGroup_somPrintSelf)(HIRadioButtonGroup *somSelf);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_somDumpSelf)(HIRadioButtonGroup *somSelf,
long level);
typedef void (* SOMLINK somTD_HIRadioButtonGroup_somDumpSelfInt)(HIRadioButtonGroup *somSelf,
long level);
}
#endif /* HIRadioButtonGroup_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIRadioButtonGroup
*/
class HIRadioButtonGroup : public HIPanel
{
public:
// HIRadioButtonGroup::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIRadioButtonGroup, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIRadioButtonGroup);
}
// HIRadioButtonGroup::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitRadioButtonGroup */
OSStatus InitRadioButtonGroup(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Point* anchor,
SInt16 width,
ItemCount numRadioButtons)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,InitRadioButtonGroup)
(this,ev,identifier,window,anchor,width,numRadioButtons);
}
/* method: GetRadioButtonCount */
ItemCount GetRadioButtonCount(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,GetRadioButtonCount)
(this,ev);
}
/* method: GetRadioButton */
HIRadioButton* GetRadioButton(Environment *ev,
HIRadioButtonIndex radioButtonIndex)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,GetRadioButton)
(this,ev,radioButtonIndex);
}
/* method: AddRadioButton */
HIRadioButton* AddRadioButton(Environment *ev,
HIRadioButtonIndex insertBeforeIndex)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,AddRadioButton)
(this,ev,insertBeforeIndex);
}
/* method: DeleteRadioButton */
OSStatus DeleteRadioButton(Environment *ev,
HIRadioButtonIndex indexToDelete)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,DeleteRadioButton)
(this,ev,indexToDelete);
}
/* method: SelectRadioButton */
void SelectRadioButton(Environment *ev,
HIRadioButtonIndex radioButtonIndex)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,SelectRadioButton)
(this,ev,radioButtonIndex);
}
/* method: GetSelectedRadioButton */
HIRadioButtonIndex GetSelectedRadioButton(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIRadioButtonGroup,GetSelectedRadioButton)
(this,ev);
}
/*
* -- Inherited methods
*/
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIRadioButtonGroup_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIRadioButtonGroup_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIRadioButtonGroup_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIRadioButtonGroup,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIRadioButtonGroup,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIRadioButtonGroup_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIRadioButtonGroup_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIRadioButtonGroup,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIRadioButtonGroup */
#endif /* SOM_HIRadioButtonGroup_xh */